Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update stream rebind #51412

Closed

Conversation

heavengate
Copy link
Contributor

PR types

Function optimization

PR changes

Others

Describe

Update stream rebinding
Update stream rebinding to support

  • stream is used by multi predictor
  • stream rebinding support multi thread

@paddle-bot
Copy link

paddle-bot bot commented Mar 9, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

}
}

void ResourceManager::Increase(void* stream) {
PADDLE_ENFORCE_EQ(ref_count_.count(stream),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebind加锁后,这里的Check还是要去掉吗?

jiweibo
jiweibo previously approved these changes Mar 15, 2023
Copy link
Contributor

@jiweibo jiweibo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Apr 24, 2023

Sorry to inform you that 6db7e32's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

jiweibo added a commit to jiweibo/Paddle that referenced this pull request May 8, 2023
@paddle-bot paddle-bot bot closed this Apr 30, 2024
Copy link

paddle-bot bot commented Apr 30, 2024

Since you haven't replied for more than a year, we have closed this issue/pr.
If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up.
由于您超过一年未回复,我们将关闭这个issue/pr。
若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants